Added auto scroll on mobile. Fix dialog box location when scrolled.