I did the same a few months ago, the best way is to insert a span inside the div and encourage the div.
$(".animamenu").click(function () { $(".animamenu").animate({ "right": 0 }, 1000); });
HTML:
<div> <i class="fa fa-bars fa-lg"></i> <div class="animamenu"> <span class="runmenu">menu</span> </div> </div>
source share