Adapting the view of all pages to application layout