Code cleanup in glfw_app::Window::scroll_window

More code re-use, fewer unchecked units. r? @glennw