fixed boundary bugs. updated UI with bootstrap