Stop hardcoding the main paperpage preview dimensions - use the config to find out.