the bottom bar height should be derived from it's own maximum height, not something else's maximum height. i tested this and it works nicely