MB-10193: detecting when filter popup is out

Change-Id: I3e98ef056ec8c2b9ab9658e63554e486fd3b6988
Reviewed-on: http://review.couchbase.org/33487
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>