Fix continuous panel  issues and panning