+ fixed bug with wrong offset of last picture