Added option to show close button left(-top)/right(-top). Defaults to left(-top) as it was originally!

Many people out there like me may like to have the close button to the right side instead of left. So I did a little tweak here and want to share with everyone else who want this.