Detecting browser so the portfolio pictures get displayed correctly