computing offset based on image height, pushing text down