limit scrolling to defined axis