add jquery resize function to center on all page sizes