finished the function to toggle the chatslider and tested it