Slidetoggle doesnt work for visibility property, altered code to try and fix