Implemented the volume slider