Fix listener in init.

$(Candy.View.Pane) is not working anymore to listen for events. Use $(Candy).on and change
event name to before-show.