Remove animation after resizing is done