Removed reload on resize because it didn't work on iPhone.