user agent detection for mobile hero buttons