added removeSlider method and handleResize methods to remove or resize Chat Slider