responsive design for series overview/setImageOffset function