Bugfix: did not work on mobile devices