Scroll to reference behavior fixed