Because this function would do the actual UI change by modifying `element.style.top`, I would like to see this reflected on the function naming.
Maybe `alignIndexToUI()`?