block collision left
refactoring to switch-case for readability
collision check right and down