fix touch event for sidebar; normalize events and classes during transition
Merge branch 'master' into gh-pages