spacebox plugin : implementation begins