Remove sliding when player stops

Set the velocity to 0 when the player stops. Doing this avoid the
player sliding.