Simplify the Page URL handling in handle_resize_inactive_msg.

This also makes it more obvious what's actually happening.
Merge pull request #3503 from Ms2ger/page-url

Simplify the Page URL handling in handle_resize_inactive_msg.

Reviewed-by: jdm