You can check Home is binded to scrollToBeginningOfDocument: and End is bonded to scrollToEndOfDocument: in /System/Library/Frameworks/AppKit.framework/Resources/StandardKeyBinding.dict.
You can overwrite it by creating ~/Library/KeyBindings/DefaultKeyBinding.dict.