Change recipe details display logic from removeclass to toggle