Refreshes after resize.