made the ui update its size to any platform

ui size