fix bouncing on bottom wall