/** Updates the dimensions for both thumbs. */
  @Override
  protected void calculateThumbSize() {
    // Call superclass method for lower thumb size.
    super.calculateThumbSize();

    // Set upper thumb size.
    upperThumbRect.setSize(thumbRect.width, thumbRect.height);
  }