removing 'isSnappingBack' variable