Directional movement functionality added