refactor side menu