Changed style and placement of previous and next buttons
Moved footer to a separate file