fix touch event for sidebar; normalize events and classes during transition