AUI-1065 - method calculateTop