add scroll directive to updt url, incomplete