fix bug for item slider