from http://cyrilmottier.com/2013/05/24/pushing-the-actionbar-to-the-next-level/