Implemented Controller for sliding menu and adapted layouts to be compatible with it