avoid race condition on sensors; other small improvements
better to trigger canvas draw without deviceorientation