use jquery's toggle and toggleClass functions to swap cards based on clicks