Added dispatch to resize event after page load to correct position.