Set panel location in ems

for better zoom handling.
TODO: Get directions in ems from the script?