iOS touch compatibility for hiding dropdown