Revert "Simplifying layer visibility handling"

This reverts commit f0ef4728d8bc711d5840198507274bb720397a88.
Temporarily hide viewPortDiv during container shuffling

This is needed to avoid both the GMap and the OpenLayers map to be visible
at the same time.