class clear in events for mobile & tablet