I don't quite understand what you're trying to do. If it's just center on a specific object, UICenterOnChild.CenterOn is enough. Why are you doing a SpringPanel as well? When you use a scroll bar and release it, UICenterOnChild kicks in, and it won't run your custom code.