Added move events and ui controls