Add ability to place close button on either left or right