pass params to index page to determine bar height
pass params to index page to determine bar height