fix an issue with scrolling