added; slide resize logic