adjust image / panel description placement depending on photo