Allow frames smaller than the viewport

This prevents lectric from scrolling past the right edge of the final frame when the frames are smaller than the viewport.