Fix page control rotation issues