Updated height expander to use file length so it doesnt unnecessarily take the whole window height