TODO: visible detect on resize && add index to defaults