Added functionality and rewrote a lot of code

You now have to init the HeaderView with an array of images from your
ViewController. Made sense. All credits still go to Bastian Kohlbauer
for the initial sample code and idea!