Improved marker interactions depending on touch or click