Master Page Impementation

Corrected all views and now work same for other views.