Optimise for tablets and mobile devices

Pause canvas element when side panel is activated.