added more responsive design and cache for offline use
forgot some function docs