remote menu animations

popupmenu.js - add toggle_with_options for opening/closing a menu
without animation or with a callback