[slideToggle] added on/off attributes to execute a scope function when the slider enters a specific state