fixed collapse nav from flashing on load