add HEAD method class
refactor the way the panels slide up when oath panel closes