Added hover func for rating
Added photo and post rating func.