now working with fancy box