Updated the code for one side navigation

- Updated the code for only one side navigation