added tablet and mobile recognition
added tablet and mobile recognition