added fixed panels code