Determine the size of the swiper and fix jumping of the containers.