adding parameter to enable images to either be full width or partial on the last row. This is to stop images from stretching too much. fixes #4