fix layout of cv viewer