refactored toggleBar to toggleIndex / toggleFilter according to window size. toggle switches at 1100px