Adds page padding and setting up for page scrolling.