updated overlay to position panels better