ui/ExpandGallery: now pass instance to 'getDefaultTransition*' functions, and use 'scrollTo()' method of instance so it can be easily overridden