made gallery more responsive and corrected some typos