Fixing slide nav bug