make separate view for every tab