Improves action view simulation.

* Implements expand/collapse action view.
* Invokes callbacks for onActionExpandListener.

Closes #944.