add view menu and attach action to it and add scroll bar on tab.