changing the styling of the example ap
fixing bugs related to image borders not being measured correctly