fix resize bug for google map transition