Decided to make the navigation list items absolutely positioned and for the JavaScript to handle its and the parent list's CSS. Also, tweaked the load function so that the selected thumbnail is always in the centre.