adjust popup page layout