Added mobile compatibility, need fix for statusbar.