adding ajax loader, moving menu out of popover to footer