fixing the offset for scroll to