Added propper direction move control