Apply transition effect to all items in menu

Also refactor code with helper methods to apply onstaging and
offstaging