added resize function for responsive sidebar footnote