rename maxMargin to fullscreenMargin and set default  margin to 0