fixed giphy search to be DRYer