spliting ui into fragments