add style and slider