Added ability to set the position of the checkbox layer