Added cropping logic and put border on to represent headline panel.