implement fixesoforverlapping s panels