Fixed carousel navigation sliding for slides with different dimmensions

If using carousel with images that have different width (of height for vertical) navigation back was done in incorect manner, we need to slide by dimmensions of previous slide (and not the current slide).