made the spinner size dynamically

other stuff too