Added markup to build contents function to output menu close div