offset and number of displayed imageon page changed