fixed styling errors and transition issues