Calculate how hight textareas should be based on screen height.

This is important as small screens, such as on mobile, don't see the
buttons immediately when creating a new post which can cause confusion.