reverse input sequence based on facing direction, limited the camera movement on sides