fixing html and csss, adcss, adds transition for hiding menu