make navbar dropdown work in responsive mode

https://issues.jboss.org/browse/AGPUSH-953

belongs to `master` and `1.0.x`