Change http then request format, add logging statements for debugging, change query selector code inside of toggleSlides