Added Event Handles for open and close menu events

Added Event Handles for open and close menu events
Added menu events to sample apps.
Merge pull request #8 from danpe/master

Added Event Handles for open and close menu events