Added collision resolution between ball and the paddles