Fixed layout for attach/detach panel when sim is resized