Correctly add/remove event listeners to slide menus