Implemented setup of tab layout.