adding fix for refresh so media queries are reloaded