Fixing overflow issue during scrolling.