add handler for motion/button events