Improved scaling ratio

Now set the ratio to be calculated on our base reference size of
800x520.
Added many scaling where needed using the ratio.
The result is much better on tablets where many images was too small.