Update manage.c for left/right sided dock