Rewrite scrollfix from jQuery to Angular directive