fix sliding panels