Fixing slide issue