updated login to move input when keyboard shows