I want it to move around consistently - without disappearing and reappearing. It sounds like the bouncing ball solution is the best solution.
If you could show examples of what the x,y boundaries would look like, that would be incredibly helpful. My screen is set to 960 x 1280 if that's helpful.
Thank you so much for your help!