Fixed page up, page down, and onpaste