VID-1945 refactoring video thumbnail controller to clean up code