fix for smartphones on autocomplete, and fix z index