add an alert if there is no devicemotion api available