made seperate pages instead of one page scrolling