Added a margin around content area.
Adjust cursor size.
Apply margin function to sample application.
Fixed some bugs.
Adjust position of loupe view.
Refactoring code to calculate cursor size.
Update documents and comments.
Merge branch 'feat-margin'