when image is loaded, it will scale properly
added views for rulers