Add animations to widgets

when you press the back key,the widgets will be dismiss.The dialog could
be contain long text.
Merge pull request #50 from shark0017/master

Add animations to widgets and fix it