Moved movement code to move{Up,Down,Left,Right} functions