tried regex if different position for tablet detection