Add offset_bottom support, test and small fixes

Adding support for offset_bottom and corresponding test

Also a fix for overscrolling (as in chrome browser)

And a fix for inconsistent behaviour in two.html test *needs to be checked (line 30 in .coffee file)

*please ignore the Makefile change