refactored and enhanced view ingredient page
two small bugfixes