Add isTablet

Sometime in tablet mode or mobile mode need different process, especially for RWD.
Merge pull request #28 from mxgit1090/patch-1

Add isTablet