Improve rotation on mobile avoiding digest cycle
Merge pull request #1819 from geoadmin/dev_rotate3

Improve rotation on mobile avoiding digest cycle