Added tab function
http://qiita.com/wadako111/items/755e753677dd72d8036d?utm_source=Qiita+Newsletter+Users&utm_campaign=7e5cc4f7a4-Qiita_newsletter_62_24_7_2013&utm_medium=email&utm_term=0_e44feaa081-7e5cc4f7a4-10310317