Internal tidying up, moved code to CalcNextScrollFromScrollTargetAndClamp() so it can be reused by upcoming nav code.
Internal tidying up, moved code to CalcNextScrollFromScrollTargetAndClamp() so it can be reused by upcoming nav code.

nProtect/imgui,ocornut/imgui,ggtucker/imgui,cmaughan/imgui,bkaradzic/imgui,aimotive/imgui-glfw,dougbinks/imgui,Flix01/imgui,ocornut/imgui,mikesart/imgui,cmaughan/imgui,mikesart/imgui,bkaradzic/imgui,cmaughan/imgui,wflohry/imgui-addons,nProtect/imgui,burningreggae/imgui,Flix01/imgui,wflohry/imgui-addons,cmaughan/imgui,dougbinks/imgui,ggtucker/imgui,Flix01/imgui,nProtect/imgui,burningreggae/imgui,aimotive/imgui-glfw,bkaradzic/imgui,ggtucker/imgui,ocornut/imgui