Fixed mobile-nav addClass function.