automatic calculate height scrollbar fix