add support for ipad
Merge branch 'dev/ipad' into gh-pages