refactor menuView