Revert "Followup ca6a16f: use parent selector both for hiding and showing windows"

So that I can revert I8046a454657a

This reverts commit f1abca8e8242cd9ffed5381226ce065d89d38df4.

Change-Id: Ia3687016887ff7398978862709246dfe09e03e80
Merge "Revert "Followup ca6a16f: use parent selector both for hiding and showing windows""