makes layout header and footer fixed when scrolling down on a long page

also allows proper display on lower width displays (tablets/smartphones)