changed animation margin from previous item