Scroll to reference: another fix