update the slider style and layout
save before the image merge