- added code to make middle panel scroll to top when empty content is given