Mask resources by scroll height.

Before we were using client height which rendered the mask too short for
long resource lists.