Add keyboard size method.