page transition resize problem