added bind once only to footer and sidebar