Animation twitching

Animation twitching

Hi there,

i'm trying to make a div that can slide to the left without using jQuery UI, but for some reason the right border of a div twitches during animation. I would appreciate if you could help me.


Here is my code: 
  1.      
  2. var black = $('div.first'),
  3.       red = $('div.second');
  4. $(black).hover(
  5. function(){
  6. $(red).animate({
  7. left: '-200px',
  8. width: '200px'
  9. }, 2000 );
  10. },
  11. function(){
  12. $(red).animate({
  13. left: '0',
  14. width: '0'
  15. } ,2000 );
  16. }
  17. );

Thank you!