updated the spinner layout