update style and structure for slider