Adapt orientation changes to parallax effect

This fixes issue #234