Updated the player movement functionality to respond to slippery floors.