fixed the gist layout for mobile view