fixes position of thumbnail container