making marginfigures optional