Adds more styling changes and fixes rounding bug in gallery update function