added scroll switchability