change height and width to suitable size
animation bug fixed