A lightweight programming environment for desktop and mobile devices
compute_scrollbar_topy = function(state)
	local f = compute_scrollbar(state)
	return state.top + f*(state.bottom - state.top)
end