added css transitions