HG-196 top bar offset

can you add some jsdoc to the function? thanks