hacky code to keep scrolling right