added browser features detection and touch support