adjusted max width for slide