fix for window resizing bug
support for fixed panel sizes and changing those sizes