changed fadeOut()'s to the jQuery .animate() method so as to only alter css and not add inline styles