Added smooth keyboard movement