added left/right margin for overlay