Implete the function: the content insets change when keyboard showing or
hiddening.