fix overflow of slides