Jerky floating menu

Does anyone know how I can get this menu:

to move as smoothly as this menu when you scroll:

See how the cyberpowerpc menu is perfectly still when you scroll and the first one is jerky? is there a way to make the first one smooth like the 2nd one?


$('#menu').stickyfloat({ duration: 400 });


$('#menu').stickyfloat({ duration: 0 });