Add pan gesture to edit rating view.