moved show_overflow code to angular giftsCtrl