pre panleft optimization