if @y_offset > 0 - @boundary[1]
        @y_offset = @boundary[1]
      elsif @y_offset < @height - @boundary[3]
        @y_offset = @height - @boundary[3]
      end