jQuery animation is snappy even with easing

jQuery animation is snappy even with easing

Hi :)

I am trying to fix an animation where it is a scrolling set of divs. After some time, The next div takes the top position at -55px. The code is as follows:

  1. var landingAlertFeed = 0,
  2.     container = $('.landing-alerts__feed'),
  3.     items = container.find('li'),
  4.     containerHeight = 0,
  5.     numberVisible = 3,
  6.     intervalSec = 3000;

  7. if(!container.find('li:first').hasClass("first")){
  8.    container.find('li:first').addClass("first");
  9. }

  10. items.each(function(){
  11.    if(landingAlertFeed < numberVisible){
  12.     containerHeight = containerHeight + $(this).outerHeight();
  13.     landingAlertFeed++;
  14.    }
  15. });

  16. container.css({ height: containerHeight, overflow: "hidden" });
  17.   
  18. function vertCycle() {
  19.    var firstItem = container.find('li.first').html();
  20.     
  21.   container.append('<li>'+firstItem+'</li>');
  22.   firstItem = '';
  23.   container.find('li.first').animate({ marginTop: "-55px" }, 600, "linear", function(){  $(this).remove(); container.find('li:first').addClass("first"); });
  24. }

  25. if(intervalSec < 700){
  26.   intervalSec = 700;
  27. }

  28. var init = setInterval("vertCycle()",intervalSec);

  29. container.hover(function(){
  30.   clearInterval(init);
  31. }, function(){
  32.   init = setInterval("vertCycle()",intervalSec);
  33. });
The current easing is at linear but I see no change when I set it to "swing". Am I missing something? Thank you for any help you might be able to provide.