fixed footer and added toggle event for mobile