Re-write of jumping + gravity handling.