made slider change heights for each panel size