fixed navbar double click problem