add "centered" option to invert-containment

I had a similar issue to #104 - and added this option to make the position of smaller images centered if I wanted to.