using fragments for tabs

using fragments for tabs