Add option for displaying title on gallery pages