Using events more clearly to handle section display management.