fixed menu close animation for SimpleSample

The menu close animation wasn't working for the SimpleSample project.  This pull request fixes it.