Added previous and next buttons and fixed CSS positioning.