add avatar action

add incoming and outgoing avatar action ,and fix frame in ios7.