changed layout slider