scroll to element when side bar closed already works