updated width of slider