Added a cancel button to movement