Set correct layout for keyboard view