Move event code to left on panel