changed the way events are handled in the demo since polymer does not support nested event subscriptions; small changes in the view and controller to support such scenarios correctly