Open navbar item dropdown only if navbar is not collapsed.