Test 1: element completely hidden above.
Test 2: element partially visible above.
Test 3: element completely hidden below.
Test 4: element partially visible below.
Test 5: not centered, element completely hidden above.
Test 6: not centered, element partially visible above.
Test 7: not centered, element completely hidden below.
Test 8: not centered, element partially visible below.