Added ability to forcibly add/remove class by provided condition in toggleClass method

Added ability to forcibly add/remove class by provided condition in toggleClass method