Implement ViewDistance handler