menus callbacks now allow in/out transition effects