added slide up and slide down animations for adding and removing criteria fields