Remember active page when using multipages