reformatted code using styles recommended by google
redesigning custom tabs feature