Clean up event binding logic in KeyframesPanel and MotionPanel views.