Added the call to setViewVisibilityOnPosition