Added event param to getHorizontalBounds

Firefox errors on getHorizontalBounds() because event is out of scope,
so I added event to the parameters.
Merge pull request #73 from toemat/master

Added event param to getHorizontalBounds