rafactoring image container to be more flexible about positioning the title

Signed-off-by: Nils Borchers <nils.borchers@sumup.com>