updated the UI for the mathematics view