changes in layout of slider