added animation on button, fixed collaps. length