Auto-resize videos to fit tabbed panels

Closes #4