There is now a really clean way to accomplish this without writing any Java code using the Design Support Library. See Dhir Pratap's answer below:
(I would have placed this as a comment but I don't have enough rep.)
How to Hide ActionBar/Toolbar While Scrolling Down in Webview