close button now works in mobile view