slider event added

onBeforeShow and onAfterShow