changed popupmenu layout