Added sidebar layout and autopolling routine to patient graph