Adding support for the side menu in the main view