persistent bar using template helpers