Added bounce(), isStill() and historyPos to the Ball class