Added history api support & ajaxy navigation