Updated JS to move scrollbar to the right of dropdown opener when visible