Added in panelIsOverlay boolean from my issue

Added in the panelIsOverlay boolean for the Show/hide jumpy issue that I was having.