Refactor the Move motion up/down/ right/left.