Implemented the View menu