Hide sidebar when focusing input bar

This is for mobile
Update angular version from beta 8 to beta 18

ngFocus is broken in beta8
Auto-close keyboard when opening sidebar (bufferlist)

This is for mobile
Merge pull request #409 from glowing-bear/hide-sidebar-onfocus

Sidebar focus fixes