Simplified the fragment view
Changed the background of the layouts
Added the page indicator as external library
Replaced the content of the fragment. Now it shows the title and the content according to the actual page