add resize animation