final changes

updated auto resize of slide content