fixed bug with detecting if player stopped moving down