Fixed back button issue

Will now go up and down directories properly