navbar transitions fix