Fixing height bug on slides