Behavior to the layers created by PagePoolAction
- Close the layers when pushing a normal page. Otherwise the normal page won't be displayed since there is a layer open above it.
- Don't show more than 1 layers above the normal page, otherwise the user gets weird behavior where they can open many time the same and this is not the intended behavior of the PagePool.
- Fix glitchy animation when replacing a layer. Just changing the opacity looks better than trying to additionally move the layers.
Tested with Kasts (see KDEReview mailing list)
Edited by Carl Schwan