finshed optional gif loading feature (speeds up page load times)