hide titles pane when not required

Change-Id: I8b2466cb3116e3d4cbda3bee99b3b4ba18f9e825
Reviewed-on: http://review.couchbase.org/24924
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>