style issue, change this to be:

if (mCurrentPosition == pos) {
  return;
}