Get rid of unneccessary scrolling of the page