display different elements based on the type of browser