add slider to display view