bouncing balls off windod borders

Signed-off-by: sabot <sabot@inuits.eu>
made reflect vector a seperate function

Signed-off-by: sabot <sabot@inuits.eu>