Adding EventHandler API for motion and scroll