made usable with different panel heights and widths