Fixed bug for figures: prevent them going above header. Added a figures demo and mention in doc.