Fixed problem with swiper not initiazing properly when number of slides changed on the fly