setImageSide method

void setImageSide()

Implementation

void setImageSide() {
  if (dragPosition <= 90 || dragPosition >= 270) {
    isFront = true;
  } else {
    isFront = false;
  }
}