update matchMedia to one that works with ie8