Replace that code with
Option Explicit
Public DoScroll As Boolean 'Set in sheet ??? 'Edit comment to suit
Private Sub Workbook_SheetFollowHyperlink(ByVal Sh As Object, ByVal Target As Hyperlink)
If DoScroll Then ActiveWindow.ScrollRow = WorksheetFunction.Max(Selection.Row - 4, 1)
DoScroll = False
End Sub
And put this in the sheet module with the hyperlinks
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
'DoScroll declared in ThisWorkbook
If Not Intersect(Target, Range("B2:B" & Cells(Rows.Count,"B").End(xlUp).Row)) Is Nothing Then
'Adjust top Row (2) of Range as appropriate.
DoScroll = True
Else: DoScroll =False
End If
End Sub