make status bar responsive to size of terminal