Fork of https://launchpad.net/flufl.bounce  (version 2.2.1)