Removed refresh on resize