updated the hitwall functions
refactored the paddle collision by using callbacks