added fancy box functionality to modal gallery pop-up