Add isTablet

Sometime in tablet mode or mobile mode need different process, especially for RWD.