implement view menu action