Revert "fancybox bug 3"

This reverts commit f13dc4b17a53ec30a2731aace97a4e061c647798.