Add function for active effect in portfolios on event scroll