fix bottom and top bar