set height to viewport height for main div when site state is mobile