placed toggleClass events in module