change layout due to font change