Better boundary check and better bouncing, also scale stuff with resolution. Could scale images with resoultion next time