<!DOCTYPE html>
<div style="width: 200px; height: 200px; margin: 50px; -moz-transform: scale(0.5); position: relative;">
  <div style="height: 200px; overflow: auto;">
    <div style="height: 400px;"></div>
  </div>
  <div style="position: absolute; top: -2px; right: -2px; bottom: -2px; width: 50px; background: white;"></div>
</div>