Adding toggleClass method