fix bug on horizontal scroll if there are 2 items #14