tweaking view helper

Signed-off-by: Adrian Stainforth <adrians@spinnakerdirect.co.uk>