Scrolled position should be restored when the div is hidden and shown again

line 1 with some text which has to be scroll to be visible
line 2 with some text which has to be scroll to be visible
line 3 with some text which has to be scroll to be visible
line 4 with some text which has to be scroll to be visible
line 5 with some text which has to be scroll to be visible
line 6 with some text which has to be scroll to be visible
line 7 with some text which has to be scroll to be visible
line 8 with some text which has to be scroll to be visible
line 9 with some text which has to be scroll to be visible
line 10 with some text which has to be scroll to be visible
line 11 with some text which has to be scroll to be visible
line 12 with some text which has to be scroll to be visible
Div will be moved here.