Going to function definitions

@Simeon, when you use the menu button to go directly to a function definition, sometimes the first line of the function appears at top of the screen, sometimes at the bottom, then you have to scroll the screen to see the rest of the function. Would it be possible to make it always appear at the top?