added in a method to hide the unused elements when not viewing the actual publication