gallery template and nav styles