when keyboard is displayed, move up the gradient overlay center