how to add layer slider to page