Added fragment changing per tab and back tracking.

*on back press, last fragment is loaded.