Something not quite right with expansion button in view.php