fix for browsers without mediaqueries