Completed some changes to tab layout and viewcase layout. Still working
on viewcase.