Added buttons to navigate the pages
Added methods to navigate between the pages, including the events for right and left arrows