Youtube style video gallery sidebar

I’m attempting to build out a video gallery that operates similarly to Youtube’s, with a main area displaying a video, and a sidebar with a list of separate videos. I have a CMS set up containing a link to each video (youtube), the title and the thumbnail. When a thumbnail is clicked, I would like that video to load into the main area, without sending the user to a new page. As a nice-to-have, the thumbs should also rearrange to exclude the current video being displayed (this may not be possible).

My first thought was to use Tabs, with the thumbnail in each tab. Unfortunately you can’t put CMS collections into a tab, so that won’t work. I’m exploring using a lightbox, but the behavior is off.

Any suggestions?