Added the ability to set slider max