Hide flash messages and footer in print mode