made changes to elements related to slideToggle() jQuery behavior