Angular directive that snaps to panes on scroll