Added functionality for player's movements to change when underwater