Reduce viewport/target size for disclose triangles in file view

@devoncarew, @dinhviethoa

Fixes #2623