added directional movement