Main window: page display: Make sure to reload the visible page after a resize

Signed-off-by: Jerome Flesch <jflesch@gmail.com>