add gallery category function
add gallery category navigation template navigation