make separate view for each tab