added menu to view template