Fix: Empty space on page after expanded component (#12672)

Full defect name: Empty space on page after expanded component - incorrect height calculation in Chrome

Layout:
[
Panel (auto x auto) [
Grid (auto x auto)
]
AnyComponent (100% x 100%)
<EMPTY SPACE>

Also sleep() was removed from tests BaseLayoutExpandTest and
BaseAddReplaceMoveTest

Change-Id: Ie8a14a58dd53a26a133ea99a7b809d92c1b33a1f