ideal scrolling- bug fixes