Altered code to set CSS value rather than wait for fadeIn function to end.