fixed range calculation for lazyLoad

center mode requires different range calculation as slidesToShow/2
slides are displayed before and after the current slide.
minification