adding touch support and hacks for iframe