small tweak to tablet detect