Make code sample fit slideshow width.