avoid hardcoding of tooptip position

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