dont move if there is no element (but still fire the 'move' event)

not sure if you plan to solve this in a different way, but in any case, here it is