fix onAddClass callback firing on each resize event
update Tablet detection features for Windows and Android