small update with navbar detection