removed input padding, added keyup/keypress handlers