Repostion the slider bar when slider size changes