Fix image slider on the last slide