Converted box layout to angular js, added history tracking to enable opening to a specific page, as well as fixing browser navigation buttoms