UI: Made LogSlider class that can by dynamically updated with new maximum