made top bar dynamic of height