if (expander.isExpanded()
&& expander.getContent() != null) {
expandTransition = new ExpandTransition(false, EXPAND_DURATION, EXPAND_RATE);
layout();
expandTransition.start(new TransitionListener() {
public void transitionCompleted(Transition transition) {
ApplicationContext.queueCallback(new Runnable() {
public void run() {
expander.scrollAreaToVisible(0, 0, expander.getWidth(), expander.getHeight());
}