Script for landing page effects & scroll spy