Added an onMove event