question: private static float makeScrollPositionInRange0ToCount ( final float currentScrollPosition , final int count ) { float absCurrentScrollPosition = currentScrollPosition ; while ( 0 > absCurrentScrollPosition ) { absCurrentScrollPosition += count ; } while ( Math . round ( absCurrentScrollPosition ) >= count ) { absCurrentScrollPosition -= count ; } return absCurrentScrollPosition ; }
target:  Helper method that make scroll in range of [0, count). Generally this method is needed only for cycle layout.