gotoFn now belongs to the panel directive
Cleaned and panel directive improved
Panel directive usages updated