Ok, I'm back.
Gravity doesn't look too hard, but before I implement that I want to get the scrolling to work...