setup function to fire when skills is scrolled to